package com.monitor.po;

import java.io.Serializable;
import java.util.Date;

public class Message implements Serializable {
	private static final long serialVersionUID = -6417213508858670877L;
	public static final int STATE_WAITING_DELETING = 1;
	public static final int STATE_DELETED = 2;
	// id
	private long id;
	// 消息内容
	private String content;
	// 机主号码
	private String phone;
	// 发送者电话号码
	private String senderPhone;
	// 接收者电话号码
	private String receiverPhone;
	// 短信发送时间
	private Date sendTime;
	// 服务器添加该记录的时间
	private long serverAddTime = System.currentTimeMillis();
	// 短信在客户端的ID
	private long clientId = 0;
	// 删除状态
	private int deleteState = 0;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getSenderPhone() {
		return senderPhone;
	}

	public void setSenderPhone(String senderPhone) {
		this.senderPhone = senderPhone;
	}

	public String getReceiverPhone() {
		return receiverPhone;
	}

	public void setReceiverPhone(String receiverPhone) {
		this.receiverPhone = receiverPhone;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public long getServerAddTime() {
		return serverAddTime;
	}

	public void setServerAddTime(long serverAddTime) {
		this.serverAddTime = serverAddTime;
	}

	public long getClientId() {
		return clientId;
	}

	public void setClientId(long clientId) {
		this.clientId = clientId;
	}

	public int getDeleteState() {
		return deleteState;
	}

	public void setDeleteState(int deleteState) {
		this.deleteState = deleteState;
	}

}
